package Controllers;
import Client.Client;
import Views.ClientIHM;


public class ClientController {
	Client client;
	ClientIHM clientIHM;
		
	public ClientController() {
		client = new Client();
		clientIHM = new ClientIHM(this);
		
		clientIHM.construireIHM(client.getListeServices());
	}

	public void chargerService(Object selection) {
		//JPanel panel = client.chargerService(selection);
		
		//clientIHM.afficherService(panel);
		
		client.chargerService(selection);
	}
	
	public static void main(String[] args) {
		new ClientController();
	}
}
